6.5
MEDIUM CVSS 3.1
CVE-2026-32704
SiYuan renderSprig: missing admin check allows any user to read full workspace DB
Description

SiYuan is a personal knowledge management system. Prior to 3.6.1, POST /api/template/renderSprig lacks model.CheckAdminRole, allowing any authenticated user to execute arbitrary SQL queries against the SiYuan workspace database and exfiltrate all note content, metadata, and custom attributes. This vulnerability is fixed in 3.6.1.

INFO

Published Date :

March 16, 2026, 2:19 p.m.

Last Modified :

March 17, 2026, 7:02 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-32704 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 B3log siyuan
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 3.1 MEDIUM [email protected]
Solution
Update SiYuan to version 3.6.1 or later to fix SQL injection vulnerability.
  • Update SiYuan to version 3.6.1 or later.
  • Verify the update is installed successfully.
Public PoC/Exploit Available at Github

CVE-2026-32704 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-32704.

URL Resource
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x Exploit Vendor Advisory
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-32704 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-32704 weaknesses.

CAPEC-1: Accessing Functionality Not Properly Constrained by ACLs Accessing Functionality Not Properly Constrained by ACLs CAPEC-5: Blue Boxing Blue Boxing CAPEC-13: Subverting Environment Variable Values Subverting Environment Variable Values CAPEC-17: Using Malicious Files Using Malicious Files CAPEC-39: Manipulating Opaque Client-based Data Tokens Manipulating Opaque Client-based Data Tokens CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-51: Poison Web Service Registry Poison Web Service Registry CAPEC-59: Session Credential Falsification through Prediction Session Credential Falsification through Prediction CAPEC-60: Reusing Session IDs (aka Session Replay) Reusing Session IDs (aka Session Replay) CAPEC-76: Manipulating Web Input to File System Calls Manipulating Web Input to File System Calls CAPEC-77: Manipulating User-Controlled Variables Manipulating User-Controlled Variables CAPEC-87: Forceful Browsing Forceful Browsing CAPEC-104: Cross Zone Scripting Cross Zone Scripting CAPEC-127: Directory Indexing Directory Indexing CAPEC-402: Bypassing ATA Password Security Bypassing ATA Password Security CAPEC-647: Collect Data from Registries Collect Data from Registries CAPEC-668: Key Negotiation of Bluetooth Attack (KNOB) Key Negotiation of Bluetooth Attack (KNOB) CAPEC-1: Accessing Functionality Not Properly Constrained by ACLs Accessing Functionality Not Properly Constrained by ACLs CAPEC-17: Using Malicious Files Using Malicious Files CAPEC-60: Reusing Session IDs (aka Session Replay) Reusing Session IDs (aka Session Replay) CAPEC-61: Session Fixation Session Fixation CAPEC-62: Cross Site Request Forgery Cross Site Request Forgery CAPEC-122: Privilege Abuse Privilege Abuse CAPEC-127: Directory Indexing Directory Indexing CAPEC-180: Exploiting Incorrectly Configured Access Control Security Levels Exploiting Incorrectly Configured Access Control Security Levels CAPEC-206: Signing Malicious Code Signing Malicious Code CAPEC-234: Hijacking a privileged process Hijacking a privileged process CAPEC-642: Replace Binaries Replace Binaries

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 week ago
2 stars 3 fork 3 watcher
Born at : Aug. 16, 2020, 10:54 a.m. This repo has been linked 14 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-32704 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-32704 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 17, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* versions up to (excluding) 3.6.1
    Added Reference Type CISA-ADP: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x Types: Exploit, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x Types: Exploit, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 16, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x
  • New CVE Received by [email protected]

    Mar. 16, 2026

    Action Type Old Value New Value
    Added Description SiYuan is a personal knowledge management system. Prior to 3.6.1, POST /api/template/renderSprig lacks model.CheckAdminRole, allowing any authenticated user to execute arbitrary SQL queries against the SiYuan workspace database and exfiltrate all note content, metadata, and custom attributes. This vulnerability is fixed in 3.6.1.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-285
    Added CWE CWE-732
    Added Reference https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.